package com.ruoyi.web.controller.mall.shopExpressMoney.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * sem对象 shop_express_money
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class ShopExpressMoney //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 邮费模板 */
    private String id;

    /** 始发地(省) */
    @Excel(name = "始发地(省)")
    private String startAddress;

    /** 目的地(省) */
    @Excel(name = "目的地(省)")
    private String endAddress;

    /** 首重重量(kg) */
    @Excel(name = "首重重量(kg)")
    private Integer firstWeight;

    /** 首重价格 */
    @Excel(name = "首重价格")
    private Double firstPrice;

    /** 续重重量(kg) */
    @Excel(name = "续重重量(kg)")
    private Integer addWeight;

    /** 续重价格 */
    @Excel(name = "续重价格")
    private Double addPrice;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upAt;

    /** 0默认1删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStartAddress(String startAddress) 
    {
        this.startAddress = startAddress;
    }

    public String getStartAddress() 
    {
        return startAddress;
    }
    public void setEndAddress(String endAddress) 
    {
        this.endAddress = endAddress;
    }

    public String getEndAddress() 
    {
        return endAddress;
    }
    public void setFirstWeight(Integer firstWeight) 
    {
        this.firstWeight = firstWeight;
    }

    public Integer getFirstWeight() 
    {
        return firstWeight;
    }
    public void setFirstPrice(Double firstPrice) 
    {
        this.firstPrice = firstPrice;
    }

    public Double getFirstPrice() 
    {
        return firstPrice;
    }
    public void setAddWeight(Integer addWeight) 
    {
        this.addWeight = addWeight;
    }

    public Integer getAddWeight() 
    {
        return addWeight;
    }
    public void setAddPrice(Double addPrice) 
    {
        this.addPrice = addPrice;
    }

    public Double getAddPrice() 
    {
        return addPrice;
    }
    public void setCaAt(Date caAt) 
    {
        this.caAt = caAt;
    }

    public Date getCaAt() 
    {
        return caAt;
    }
    public void setUpAt(Date upAt) 
    {
        this.upAt = upAt;
    }

    public Date getUpAt() 
    {
        return upAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startAddress", getStartAddress())
            .append("endAddress", getEndAddress())
            .append("firstWeight", getFirstWeight())
            .append("firstPrice", getFirstPrice())
            .append("addWeight", getAddWeight())
            .append("addPrice", getAddPrice())
            .append("caAt", getCaAt())
            .append("upAt", getUpAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
